home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -in_the_mag- / mousewheel / newmouse12 / newmouse.h < prev    next >
C/C++ Source or Header  |  2000-03-02  |  599b  |  27 lines

  1. /*
  2.  * Include file for the NewMouse standard way of handling wheeled mice.
  3.  * 
  4.  * Copyright (c) 1999 by Alessandro Zummo <azummo@ita.flashnet.it> . All Rights Reserved.
  5. */
  6.  
  7. #ifndef NEWMOUSE_H
  8. #define NEWMOUSE_H
  9.  
  10. #define NEWMOUSE_VERSION    1
  11.  
  12. #define IECLASS_NEWMOUSE    (0x16)  /* IECLASS_MAX + 1 as of V40 */ 
  13.  
  14. /* These are issued both under IECLASS_NEWMOUSE and IECLASS_RAWKEY     */ 
  15. /* by the NewMouse driver                                            */
  16.  
  17. #define NM_WHEEL_UP            (0x7A)
  18. #define NM_WHEEL_DOWN        (0x7B)
  19. #define NM_WHEEL_LEFT        (0x7C)
  20. #define NM_WHEEL_RIGHT        (0x7D)
  21.  
  22. #define NM_BUTTON_FOURTH    (0x7E)
  23.  
  24.  
  25. #endif /* NEWMOUSE_H */
  26.  
  27.